home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
bootup
/
boot_a2m
/
auto_set
/
auto_set.lst
< prev
next >
Wrap
File List
|
1995-05-02
|
2KB
|
91 lines
CLS
PRINT "Auto Set V1.0 ╜ 1994 Alexander Hajnal"
PRINT "Written in GFA Basic V3.5E"
PRINT "This Program is Freeware!"
PRINT
MODE 1
PRINT "Current Date is:";DATE$
INPUT "Please enter new date (mm/dd/yyyy):";new.date$
PRINT "Current Time is:";TIME$
INPUT "Please enter new time (hh:mm:ss):";new.time$
SETTIME new.time$,new.date$
low!=TRUE
def!=FALSE
IF EXIST("A:\med.def")
low!=FALSE
def!=TRUE
ENDIF
PRINT
IF EXIST("A:\low.inf")
IF EXIST("A:\med.inf")
PRINT "Select screen resolution:"
PRINT AT(1,11);" LOW"
PRINT AT(1,12);" MEDIUM"
IF low!
PRINT AT(1,11);"->";
ELSE
PRINT AT(1,12);"->";
ENDIF
DO
i|=INP(2)
SELECT i|
CASE 200
' up
IF low!=FALSE
low!=TRUE
PRINT AT(1,11);"->";
PRINT AT(1,12);" ";
ENDIF
CASE 208
' down
IF low!=TRUE
low!=FALSE
PRINT AT(1,11);" ";
PRINT AT(1,12);"->";
ENDIF
ENDSELECT
LOOP UNTIL i|=13
ELSE
low!=TRUE
ENDIF
ELSE
low!=FALSE
ENDIF
IF EXIST("A:\low.inf") AND low!=TRUE AND def!=TRUE
OPEN "i",#1,"A:\low.inf"
OPEN "o",#2,"A:\desktop.inf"
len&=0
DO
INC len&
i|=INP(#1)
OUT #2,i|
LOOP UNTIL len&=LOF(#1)
CLOSE #1
CLOSE #2
IF EXIST("A:\med.def")
KILL "A:\med.def"
ENDIF
IF NOT EXIST("A:\low.def")
OPEN "o",#1,"A:\low.def"
CLOSE #1
ENDIF
ELSE IF EXIST("A:\med.inf") AND low!=FALSE AND def!=FALSE
OPEN "i",#1,"A:\med.inf"
OPEN "o",#2,"A:\desktop.inf"
len&=0
DO
INC len&
i|=INP(#1)
OUT #2,i|
LOOP UNTIL len&=LOF(#1)
CLOSE #1
CLOSE #2
IF EXIST("A:\low.def")
KILL "A:\low.def"
ENDIF
IF NOT EXIST("A:\med.def")
OPEN "o",#1,"A:\med.def"
CLOSE #1
ENDIF
ENDIF